package com.legendshop.openportal.sdk.model.response;

import com.legendshop.openportal.sdk.model.BaseResponse;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author jzh
 * @version 1.0.0
 * @title OrderAfterSaleSubmitBO
 * @date 2024/6/29 15:19
 * @description：订单售后提交响应
 */
@Data
@ApiModel(value = "售后申请结果")
public class AfterSaleSubmitResponse extends BaseResponse {

    private static final long serialVersionUID = -4633482484297515569L;

    /**
     * 订单号
     */
    @ApiModelProperty(value = "订单号")
    private String subNumber;

    /**
     * 售后单项
     */
    @ApiModelProperty(value = "售后单项")
    private List<AfterSaleSubmitItem> itemList;

    @Data
    @ApiModel(value = "售后订单项")
    public static class AfterSaleSubmitItem implements Serializable {

        private static final long serialVersionUID = 3110633471933701601L;

        /**
         * 售后单号
         */
        @ApiModelProperty(value = "售后单号")
        private String refundSn;

        /**
         * 商品ID
         */
        @ApiModelProperty(value = "商品ID")
        private Long prodId;

        /**
         * 规格ID
         */
        @ApiModelProperty(value = "规格ID")
        private Long skuId;
    }

}
